<?php
# idxCMS Flat Files Content Management System v5.0
# Copyright (c) 2011-2016 Victor Nabatov greenray.spb@gmail.com
# Module GALLERY: Template for the random image

die();?>

<!-- FOREACH $random -->
    <div class="center">
        <a href="$random.link">
            <img src="$random.path$random.id{DS}[$random.image].jpg" class="nomargin" alt="IMAGE" />
        </a>
    </div>
    <div class="random-image center">$random.title</div>
<!-- END -->
